package com.hsg.transport;

import java.util.Date;

/**
 * @description:自行车
 * @author: wmt
 * @date: Created in 2020/4/3 16:31
 * @version: v1.0
 * @modified By:
 */
public class Bicycle  {
    private String id;
    private String ownership;
    private String Price;
    private Date dateOfPurchase;
    private String GPSPersition;
    public void drivingMethod() {

        System.out.println("Bicycle drivingMethod");
    }

    public Bicycle() {
    }

    public Bicycle(String ownership) {
        this.ownership = ownership;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getOwnership() {
        return ownership;
    }

    public void setOwnership(String ownership) {
        this.ownership = ownership;
    }

    public String getPrice() {
        return Price;
    }

    public void setPrice(String price) {
        Price = price;
    }

    public Date getDateOfPurchase() {
        return dateOfPurchase;
    }

    public void setDateOfPurchase(Date dateOfPurchase) {
        this.dateOfPurchase = dateOfPurchase;
    }

    public String getGPSPersition() {
        return GPSPersition;
    }

    public void setGPSPersition(String GPSPersition) {
        this.GPSPersition = GPSPersition;
    }
}
